package org.jeecg.modules.flower.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: 售后单子表
 * @Author: jeecg-boot
 * @Date:   2022-07-15
 * @Version: V1.0
 */
@ApiModel(value="flower_af_sales_main对象", description="售后单主表")
@Data
@TableName("flower_af_sales_detal")
public class FlowerAfSalesDetal implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
	@ApiModelProperty(value = "主键")
	private String id;
	/**主表id*/
	@ApiModelProperty(value = "主表id")
	private String mainid;
	/**品种*/
	@Excel(name = "品种", width = 15)
	@ApiModelProperty(value = "品种")
	private String variety;
	/**品种编码*/
	@Excel(name = "品种编码", width = 15)
	@ApiModelProperty(value = "品种编码")
	private String varietyCode;
	/**规格*/
	@Excel(name = "规格", width = 15)
	@ApiModelProperty(value = "规格")
	private String packingSpecifications;
	/**花杆长度*/
	@Excel(name = "花杆长度", width = 15)
	@ApiModelProperty(value = "花杆长度")
	private String flowerPoleLength;
	/**售后数量*/
	@Excel(name = "售后数量", width = 15)
	@ApiModelProperty(value = "售后数量")
	private BigDecimal number;
	/**销售价格*/
	@Excel(name = "销售价格", width = 15)
	@ApiModelProperty(value = "销售价格")
	private java.math.BigDecimal sealPrice;
	/**售后价格*/
	@Excel(name = "售后价格", width = 15)
	@ApiModelProperty(value = "售后价格")
	private java.math.BigDecimal afSealPrice;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
	private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
	private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
	private Date updateTime;
}
